export default {
    type: 'line',
    data: {
        values: [
            { type: 'Nail polish', "spacecraft": "天和核心舱", "value": 22 },
            { type: 'Nail polish', "spacecraft": "梦天实验舱", "value": 23 },
            { type: 'Nail polish', "spacecraft": "问天实验舱", "value": 24 },
            { type: 'Nail polish', "spacecraft": "神舟飞船", "value": 21 },
            { type: 'Eyebrow pencil', "spacecraft": "天和核心舱", "value": 22 },
            { type: 'Eyebrow pencil', "spacecraft": "梦天实验舱", "value": 23 },
            { type: 'Eyebrow pencil', "spacecraft": "问天实验舱", "value": 24 },
            { type: 'Eyebrow pencil', "spacecraft": "神舟飞船", "value": 21 },
            { type: 'Rouge', "spacecraft": "天和核心舱", "value": 23 },
            { type: 'Rouge', "spacecraft": "梦天实验舱", "value": 24 },
            { type: 'Rouge', "spacecraft": "问天实验舱", "value": 22 },
            { type: 'Rouge', "spacecraft": "神舟飞船", "value": 21 },
            { type: 'Lipstick', "spacecraft": "天和核心舱", "value": 22 },
            { type: 'Lipstick', "spacecraft": "梦天实验舱", "value": 23 },
            { type: 'Lipstick', "spacecraft": "问天实验舱", "value": 24 },
            { type: 'Lipstick', "spacecraft": "神舟飞船", "value": 21 },
            { type: 'Eyeshadows', "spacecraft": "天和核心舱", "value": 23 },
            { type: 'Eyeshadows', "spacecraft": "梦天实验舱", "value": 24 },
            { type: 'Eyeshadows', "spacecraft": "问天实验舱", "value": 22 },
            { type: 'Eyeshadows', "spacecraft": "神舟飞船", "value": 21 },
            { type: 'Eyeliner', "spacecraft": "天和核心舱", "value": 22 },
            { type: 'Eyeliner', "spacecraft": "梦天实验舱", "value": 23 },
            { type: 'Eyeliner', "spacecraft": "问天实验舱", "value": 24 },
            { type: 'Eyeliner', "spacecraft": "神舟飞船", "value": 21 },
            { type: 'Foundation', "spacecraft": "天和核心舱", "value": 23 },
            { type: 'Foundation', "spacecraft": "梦天实验舱", "value": 24 },
            { type: 'Foundation', "spacecraft": "问天实验舱", "value": 22 },
            { type: 'Foundation', "spacecraft": "神舟飞船", "value": 21 },
            { type: 'Lip gloss', "spacecraft": "天和核心舱", "value": 22 },
            { type: 'Lip gloss', "spacecraft": "梦天实验舱", "value": 23 },
            { type: 'Lip gloss', "spacecraft": "问天实验舱", "value": 24 },
            { type: 'Lip gloss', "spacecraft": "神舟飞船", "value": 21 },
            { type: 'Mascara', "spacecraft": "天和核心舱", "value": 23 },
            { type: 'Mascara', "spacecraft": "梦天实验舱", "value": 24 },
            { type: 'Mascara', "spacecraft": "问天实验舱", "value": 22 },
            { type: 'Mascara', "spacecraft": "神舟飞船", "value": 21 }
        ]
    },
    title: {
        visible: true,
        text: '历史数据汇总'
    },
    stack: true,
    xField: 'type',
    yField: 'value',
    seriesField: 'spacecraft',
    line: {
        style: {
            curveType: 'monotone'
        }
    },
    point: {
        style: {
            size: 0,
            fill: 'white',
            stroke: null,
            lineWidth: 2
        },
        state: {
            dimension_hover: {
                size: 10
            }
        }
    },
    legends: [{ visible: true, position: 'middle', orient: 'bottom' }]
};